package com.greatwqs.wmall.common.module.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/***
 * 登陆用户基本信息，用于网关查询后获得，传递到后端微服务。
 *
 * @author wang-qingsong
 * @since 2025/03/21
 */
@Getter
@Setter
@ToString
public class LoginUser implements Serializable {

    private Long userId;

    private String loginId;

    private String userName;

    private String phoneNo;

    private String emailAdd;

    private String photoUrl;

    /***
     * @see com.greatwqs.wmall.user.client.enums.UserStatusType
     */
    private Integer userStatus;
}
